import java.util.Scanner;

class Base {

}

class Sub1 extends Base {

}

class Sub2 extends Base {

}

public class Test {
    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            String className = scanner.next();
            Base obj = (Base) Class.forName(className).newInstance();
            System.out.println(getClassName(obj));
        }
        int m = 10;
        //int n = 10;
        for (int i = 0; i < m; i++) {
            for (int j = 0; j < m; j++) {

            }
        }
        int num = 1;
        int n = 10;
        while (num < n) {
            num = num * 2;
        }
        for (int i = 0; i < m; i++) {
            for (int j = i; j < m; j++) {

            }
        }
    }

    public static String getClassName(Base obj) {
        return obj.getClass().getName();
    }
}

